
import org.apache.uima.cas.Type;
import java.lang.Class;

//echo $CLASSPATH=src-source.ts.Word:.tgt-target.ts.Mot:.
public class Test {

	String classPath;
	Type src;
	Type tgt;
	//Class myC;
	
	public Test()
	{
		classPath = System.getenv("CLASSPATH");
	}
	
	
	public String getClassPath() {
		return classPath;
	}

	public void findSrc()
	{
		int idxBeg = classPath.indexOf("src-");
		idxBeg = idxBeg+4;
		int idxEnd = classPath.indexOf(":");
		idxEnd = idxEnd-1;
		String strType = classPath.substring(idxBeg, idxEnd);
		System.out.println(strType);
	}
	
	public void findTgt()
	{
		
	}
	
	public static void main(String[] args) {
		Test t = new Test();
		t.findSrc();
	}
}

